package com.yanqu.road.entity.log.cross.daomu;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_c_activity_daomu_pvp_log_apply", autoSave = true, dataUpload = true, eventName = "tougold_pvpin", uploadCk = true, desc = "盗墓-摸金觅宝云顶之战报名", isCross = true)
public class LogDaoMuPvpApply extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", dataAttribute = "activityid", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "轮次", dataAttribute = "round_id")
    private int round;

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;

    // 等级
    @FieldTypeAnnotation(desc = "等级", dataAttribute = "level")
    private int collectionLevel;

    // 藏品分
    @FieldTypeAnnotation(desc = "藏品分", dataAttribute = "get_accnum")
    private long collectionScore;

    // 资格
    @FieldTypeAnnotation(desc = "资格", dataAttribute = "is_special")
    private boolean able;

    // 报名排行
    @FieldTypeAnnotation(desc = "报名排行", dataAttribute = "currank")
    private int rank;

    @FieldTypeAnnotation(desc = "更新时间")
    private long updateTime;

    public LogDaoMuPvpApply(int activityId, int round, long userId, int collectionLevel, long collectionScore, boolean able, int rank, long updateTime) {
        this.activityId = activityId;
        this.round = round;
        this.userId = userId;
        this.collectionLevel = collectionLevel;
        this.collectionScore = collectionScore;
        this.able = able;
        this.rank = rank;
        this.updateTime = updateTime;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getCollectionLevel() {
        return collectionLevel;
    }

    public void setCollectionLevel(int collectionLevel) {
        this.collectionLevel = collectionLevel;
    }

    public long getCollectionScore() {
        return collectionScore;
    }

    public void setCollectionScore(long collectionScore) {
        this.collectionScore = collectionScore;
    }

    public boolean isAble() {
        return able;
    }

    public void setAble(boolean able) {
        this.able = able;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
    }
}
